#pragma once
#include "Globals.h"
class Collider
{
public:
	enum Type
	{
		POWERUP,
		PLAYER,
		FRIENDLYPROJECTILE,
		ENEMYPROJECTILE,
		ENEMY,
		STATIC
	};
	Collider();
	Collider(int, int, int, int);
	Collider(int, int, int, int, bool);
	Collider(int, int, int, int, bool, Type);
	~Collider();

	bool Collides(Collider *);
	int * GetCoordinates();
	void SetCoordinates(int, int, int, int);
	bool IsRigid();
	void SetCollisions(bool);
	void SetType(Type);
	Type GetType();

private:
	int m_x0, m_y0, m_xf, m_yf;
	bool m_isRigid;
	Type m_type;
};

